package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备状态-隧道内保护详细状态对象 device_status_tunnel_protect
 * 
 * @author tony
 * @date 2024-12-18
 */
public class DeviceStatusTunnelProtect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    @ApiModelProperty(value = "网元id")
    private String elementId;

    /** 隧道ID */
    @Excel(name = "隧道ID")
    @ApiModelProperty(value = "隧道ID")
    private String tunnelId;

    /** 首节点路由ID */
    @Excel(name = "首节点路由ID")
    @ApiModelProperty(value = "首节点路由ID")
    private String ingress;

    /** 尾节点路由ID */
    @Excel(name = "尾节点路由ID")
    @ApiModelProperty(value = "尾节点路由ID")
    private String egress;

    /** 主lsp id */
    @Excel(name = "主lsp id")
    @ApiModelProperty(value = "主lsp id")
    private String primaryLspId;

    /** 备lsp id */
    @Excel(name = "备lsp id")
    @ApiModelProperty(value = "备lsp id")
    private String secondaryLspId;

    /** 切换状态 */
    @Excel(name = "切换状态")
    @ApiModelProperty(value = "切换状态")
    private String switchState;

    /** 主lsp状态 */
    @Excel(name = "主lsp状态")
    @ApiModelProperty(value = "主lsp状态")
    private String primaryLspState;

    /** 备lsp状态 */
    @Excel(name = "备lsp状态")
    @ApiModelProperty(value = "备lsp状态")
    private String secondaryLspState;

    /** 返回模式 */
    @Excel(name = "返回模式")
    @ApiModelProperty(value = "返回模式")
    private String returnMode;

    /** 隧道所属协议 */
    @Excel(name = "隧道所属协议")
    @ApiModelProperty(value = "隧道所属协议")
    private String signalProtocol;

    /** 拖延时间 */
    @Excel(name = "拖延时间")
    @ApiModelProperty(value = "拖延时间")
    private String holdOffConfigTime;

    /** 等待恢复时间 */
    @Excel(name = "等待恢复时间")
    @ApiModelProperty(value = "等待恢复时间")
    private String wtrConfigTime;

    /** 主lsp出标签 */
    @Excel(name = "主lsp出标签")
    @ApiModelProperty(value = "主lsp出标签")
    private String primaryLspLabel;

    /** 备lsp出标签 */
    @Excel(name = "备lsp出标签")
    @ApiModelProperty(value = "备lsp出标签")
    private String secondaryLspLabel;

    /** 主lsp出接口 */
    @Excel(name = "主lsp出接口")
    @ApiModelProperty(value = "主lsp出接口")
    private String primaryIfName;

    /** 备lsp出接口 */
    @Excel(name = "备lsp出接口")
    @ApiModelProperty(value = "备lsp出接口")
    private String secondaryIfName;

    /** 保护类型 */
    @Excel(name = "保护类型")
    @ApiModelProperty(value = "保护类型")
    private String protectType;

    /** 收aps */
    @Excel(name = "收aps")
    @ApiModelProperty(value = "收aps")
    private String rxAps;

    /** 发aps */
    @Excel(name = "发aps")
    @ApiModelProperty(value = "发aps")
    private String txAps;

    /** 告警检测方式 */
    @Excel(name = "告警检测方式")
    @ApiModelProperty(value = "告警检测方式")
    private String almDetectMode;

    /** 主用ID */
    @Excel(name = "主用ID")
    @ApiModelProperty(value = "主用ID")
    private String priDetectId;

    /** 备用ID */
    @Excel(name = "备用ID")
    @ApiModelProperty(value = "备用ID")
    private String secondaryDetectId;

    /** 保护实体索引 */
    @Excel(name = "保护实体索引")
    @ApiModelProperty(value = "保护实体索引")
    private String protectEntityId;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setTunnelId(String tunnelId) 
    {
        this.tunnelId = tunnelId;
    }

    public String getTunnelId() 
    {
        return tunnelId;
    }
    public void setIngress(String ingress) 
    {
        this.ingress = ingress;
    }

    public String getIngress() 
    {
        return ingress;
    }
    public void setEgress(String egress) 
    {
        this.egress = egress;
    }

    public String getEgress() 
    {
        return egress;
    }
    public void setPrimaryLspId(String primaryLspId) 
    {
        this.primaryLspId = primaryLspId;
    }

    public String getPrimaryLspId() 
    {
        return primaryLspId;
    }
    public void setSecondaryLspId(String secondaryLspId) 
    {
        this.secondaryLspId = secondaryLspId;
    }

    public String getSecondaryLspId() 
    {
        return secondaryLspId;
    }
    public void setSwitchState(String switchState) 
    {
        this.switchState = switchState;
    }

    public String getSwitchState() 
    {
        return switchState;
    }
    public void setPrimaryLspState(String primaryLspState) 
    {
        this.primaryLspState = primaryLspState;
    }

    public String getPrimaryLspState() 
    {
        return primaryLspState;
    }
    public void setSecondaryLspState(String secondaryLspState) 
    {
        this.secondaryLspState = secondaryLspState;
    }

    public String getSecondaryLspState() 
    {
        return secondaryLspState;
    }
    public void setReturnMode(String returnMode) 
    {
        this.returnMode = returnMode;
    }

    public String getReturnMode() 
    {
        return returnMode;
    }
    public void setSignalProtocol(String signalProtocol) 
    {
        this.signalProtocol = signalProtocol;
    }

    public String getSignalProtocol() 
    {
        return signalProtocol;
    }
    public void setHoldOffConfigTime(String holdOffConfigTime) 
    {
        this.holdOffConfigTime = holdOffConfigTime;
    }

    public String getHoldOffConfigTime() 
    {
        return holdOffConfigTime;
    }
    public void setWtrConfigTime(String wtrConfigTime) 
    {
        this.wtrConfigTime = wtrConfigTime;
    }

    public String getWtrConfigTime() 
    {
        return wtrConfigTime;
    }
    public void setPrimaryLspLabel(String primaryLspLabel) 
    {
        this.primaryLspLabel = primaryLspLabel;
    }

    public String getPrimaryLspLabel() 
    {
        return primaryLspLabel;
    }
    public void setSecondaryLspLabel(String secondaryLspLabel) 
    {
        this.secondaryLspLabel = secondaryLspLabel;
    }

    public String getSecondaryLspLabel() 
    {
        return secondaryLspLabel;
    }
    public void setPrimaryIfName(String primaryIfName) 
    {
        this.primaryIfName = primaryIfName;
    }

    public String getPrimaryIfName() 
    {
        return primaryIfName;
    }
    public void setSecondaryIfName(String secondaryIfName) 
    {
        this.secondaryIfName = secondaryIfName;
    }

    public String getSecondaryIfName() 
    {
        return secondaryIfName;
    }
    public void setProtectType(String protectType) 
    {
        this.protectType = protectType;
    }

    public String getProtectType() 
    {
        return protectType;
    }
    public void setRxAps(String rxAps) 
    {
        this.rxAps = rxAps;
    }

    public String getRxAps() 
    {
        return rxAps;
    }
    public void setTxAps(String txAps) 
    {
        this.txAps = txAps;
    }

    public String getTxAps() 
    {
        return txAps;
    }
    public void setAlmDetectMode(String almDetectMode) 
    {
        this.almDetectMode = almDetectMode;
    }

    public String getAlmDetectMode() 
    {
        return almDetectMode;
    }
    public void setPriDetectId(String priDetectId) 
    {
        this.priDetectId = priDetectId;
    }

    public String getPriDetectId() 
    {
        return priDetectId;
    }
    public void setSecondaryDetectId(String secondaryDetectId) 
    {
        this.secondaryDetectId = secondaryDetectId;
    }

    public String getSecondaryDetectId() 
    {
        return secondaryDetectId;
    }
    public void setProtectEntityId(String protectEntityId) 
    {
        this.protectEntityId = protectEntityId;
    }

    public String getProtectEntityId() 
    {
        return protectEntityId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("tunnelId", getTunnelId())
            .append("ingress", getIngress())
            .append("egress", getEgress())
            .append("primaryLspId", getPrimaryLspId())
            .append("secondaryLspId", getSecondaryLspId())
            .append("switchState", getSwitchState())
            .append("primaryLspState", getPrimaryLspState())
            .append("secondaryLspState", getSecondaryLspState())
            .append("returnMode", getReturnMode())
            .append("signalProtocol", getSignalProtocol())
            .append("holdOffConfigTime", getHoldOffConfigTime())
            .append("wtrConfigTime", getWtrConfigTime())
            .append("primaryLspLabel", getPrimaryLspLabel())
            .append("secondaryLspLabel", getSecondaryLspLabel())
            .append("primaryIfName", getPrimaryIfName())
            .append("secondaryIfName", getSecondaryIfName())
            .append("protectType", getProtectType())
            .append("rxAps", getRxAps())
            .append("txAps", getTxAps())
            .append("almDetectMode", getAlmDetectMode())
            .append("priDetectId", getPriDetectId())
            .append("secondaryDetectId", getSecondaryDetectId())
            .append("protectEntityId", getProtectEntityId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
